import Home from '@/Home';
import A1B1 from '@/A1/B1'
import A1B2 from '@/A1/B2'
import A1B3 from '@/A1/B3'
import A1B4 from '@/A1/B4'
import A1B5 from '@/A1/B5'
import A1B6 from '@/A1/B6'
import A1B7 from '@/A1/B7'
import A1B8 from '@/A1/B8'
import A1B9 from '@/A1/B9'
import A1B10 from '@/A1/B10'
import A1B11 from '@/A1/B11'

let routes = [
  {
    path: '/',
    name: '地图实例',
    component: Home,
    meta:{
      title: '地图实例'
    },
    iconCls: '',
    children: [
      {path: '/a1b1', component: A1B1, name: '地图展示'},
      {path: '/a1b2', component: A1B2, name: '异步加载地图'},
      {path: '/a1b3', component: A1B3, name: '同时加载两个地图'},
      {path: '/a1b4', component: A1B4, name: '根据城市名设置地图中心点'},
      {path: '/a1b5', component: A1B5, name: '设置地图最大、最小级别'},
      {path: '/a1b6', component: A1B6, name: '移动地图'},
      {path: '/a1b7', component: A1B7, name: '缩放地图'},
      {path: '/a1b8', component: A1B8, name: '拖拽地图'},
      {path: '/a1b9', component: A1B9, name: '设置地图显示范围'},
      {path: '/a1b10', component: A1B10, name: '获取两点间距离'},
      {path: '/a1b11', component: A1B11, name: '关闭默认地图POI事件'},
    ]
  }
]


export default routes;
